/*******************************************
Module: zt_hash.h
E-Mail: 24zhutian@gmail.com
Notices: Copyright (c) 2007-2011 ls
*******************************************/
#ifndef zt_hash_h
#define zt_hash_h

#ifdef __cplusplus
extern "C" {
#endif

ZT_API u_char*		zt_sha1(u_char *dst,const u_char *str,size_t siz);
ZT_API u_char*		zt_md5(u_char *dst,const u_char *str,size_t siz);

ZT_API unsigned int zt_hash_google_url(const u_char *str);
ZT_API unsigned int zt_hash_djb2(const u_char *str);
	
#ifdef __cplusplus
}
#endif /* C++ */
#endif /* zt_hash */